home *** CD-ROM | disk | FTP | other *** search
- #ifndef __MAIN__
- #define __MAIN__
-
- #ifndef __THREADS__
- #include <Threads.h>
- #endif
-
- /*
- // Globals defined in this file:
- */
- extern Rect gUniverseRect;
- extern RgnHandle gUniverseRgn;
- extern RgnHandle gScratchRgn;
- extern GrafPtr gWindowMgrPort;
-
- extern SysEnvRec gThisMacintosh;
- extern Boolean gHasAppleEvents;
-
- /*
- // Prototypes from 'Main.c'
- */
- void main(void);
- OSErr ExitProgram(CWindowPtr window, short item);
- pascal OSErr ThreadCreateNotifyHandler(ThreadID createdThread, long threadCreateRefcon);
- OSErr NewThreadWithNotification(ThreadStyle threadStyle, ThreadEntryProcPtr threadEntry, void *threadParam, Size stackSize, ThreadOptions options, void **threadResult, ThreadID *threadMade, long threadCreateRefcon);
-
- #endif
-